<div class="panel">
    <div class="farris-form-controls-inline">
        <div class="farris-group-wrap">
            <div class="form-group farris-form-group">
                <label class="col-form-label">
                    <span class="farris-label-info text-danger">*</span>
                    <span class="farris-label-text">模板名称</span>
                </label>
                <div class="farris-input-wrap">
                    <input type="input" class="form-control" [(ngModel)]="controlTemplateInfo.name">
                </div>
            </div>
        </div>
    </div>


    <div *ngIf="saveAsType==='container'" class="content-grid mt-3 border" [class.d-none]="!showFilterControlPanel">
        <farris-datagrid [data]="allContentControls" [columns]="columns" #dg="datagrid" [idField]="'id'" [fit]="true"
            [editable]="false" [showAllCheckbox]="true" [showCheckbox]="true" [multiSelect]="true" [fitColumns]="true"
            [striped]="true" [pagination]="false" [disableRow]="disableRowFn">
        </farris-datagrid>
    </div>
</div>






<ng-template #bindingFooter>
    <button type="button" class="btn btn-secondary" (click)="clickCancel()">取消</button>
    <button type="button" class="btn btn-primary" (click)="clickConfirm()">{{alreadySaved?'更新':'保存'}}</button>
</ng-template>